/*************************************************
 * 描述：按钮设计器
 *
 * File：cxibuttondesigner.h
 * Author：zhangzhiming@mozihealthcare.cn
 * Date：25-8-19
 * Update：
 * ************************************************/
#ifndef CXIBUTTONDESIGNER_H
#define CXIBUTTONDESIGNER_H
#include <qglobal.h>

#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
#include <QtUiPlugin/QDesignerCustomWidgetInterface>
#else
#include <QDesignerCustomWidgetInterface>
#endif
#include "cxidesignerbase.h"

class CxiButtonDesigner : public CxiDesignerBase
{
	Q_OBJECT
	Q_INTERFACES(QDesignerCustomWidgetInterface)
public:
	explicit CxiButtonDesigner(QObject* parent = 0);
	QWidget* createWidget(QWidget* parent) override;
private:
	bool m_initialized = false;
};


#endif//CXIBUTTONDESIGNER_H
